package br.ufal.tci.nexos.arcolive.beans;

import java.io.Serializable;
import java.util.Vector;

import javax.media.rtp.Participant;

/**
 * @author <a href="mailto:felipe@labpesquisas.tci.ufal.br">Felipe Barros Pontes</a>.
 * @author <a href="mailto:leandro@labpesquisas.tci.ufal.br">Leandro Melo de
 *         Sales</a>.
 */
 
public class ArCoLIVEParticipant implements Serializable {

	private String name; //Participant Name

	private String email; //Participant Email

	private String login; //Participant Login

	private String role; // ???

	private Participant rtpParticipant; //A participant in an RTP section: a sender or receiver

	/**
	 * 
	 */
	public ArCoLIVEParticipant() {
	}

	/**
	 * @param rtpParticipant
	 */
	public void setRtpParticipant(Participant rtpParticipant) {
		this.rtpParticipant = rtpParticipant;
	}

	/**
	 * @return
	 */
	public Vector getParticipantReports() {
		return this.rtpParticipant.getReports();
	}

	/**
	 * @return
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return
	 */
	public String getLogin() {
		return login;
	}

	/**
	 * @param login
	 */
	public void setLogin(String login) {
		this.login = login;
	}

	/**
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return
	 */
	public String getRole() {
		return role;
	}

	/**
	 * @param role
	 */
	public void setRole(String role) {
		this.role = role;
	}

}